package com.example.realtimeeb.model

/*========================================ods===================================================*/
case class TradeOrder(
                       modifiedTime: String,
                       orderNo: String,
                       isPay: String,
                       orderId: String,
                       tradeSrc: String,
                       payTime: String,
                       productMoney: String,
                       totalMoney: String,
                       dataFlag: String,
                       userId: String,
                       areaId: String,
                       createTime: String,
                       payMethod: String,
                       isRefund: String,
                       tradeType: String,
                       status: String)

case class AreaDetail(
                       id: String,
                       name: String,
                       pid: String,
                       sname: String,
                       level: String,
                       citycode: String,
                       yzcode: String,
                       mername: String,
                       Lng: String,
                       Lat: String,
                       pinyin: String)

case class OrderProduct(
                         id: String,
                         orderId: String,
                         productId: String,
                         productNum: String,
                         money: String,
                         extra: String,
                         createTime: String)

case class Payment(
                    id: String,
                    payMethod: String,
                    payName: String,
                    description: String,
                    payOrder: String,
                    online: String)

case class ProductCategory(
                            catId: String,
                            parentId: String,
                            catName: String,
                            isShow: String,
                            sortNum: String,
                            isDel: String,
                            createTime: String,
                            level: String)

case class ProductInfo(
                        productId: String,
                        productName: String,
                        shopId: String,
                        price: String,
                        isSale: String,
                        status: String,
                        categoryId: String,
                        createTime: String,
                        modifyTime: String)

case class ShopAdminOrg(
                         id: String,
                         parentId: String,
                         orgName: String,
                         orgLevel: String,
                         isDelete: String,
                         createTime: String,
                         updateTime: String,
                         isShow: String,
                         orgType: String)

case class Shop(
                 shopId: String,
                 userId: String,
                 areaId: String,
                 shopName: String,
                 shopLevel: String,
                 status: String,
                 createTime: String,
                 modifyTime: String)

/*========================================dim===================================================*/
case class Area(id: Int, name: String, pid: Int)

case class DimArea(areaId: Int, aname: String, cid: Int, city: String, proId: Int, province: String)


